package com.lovo.roomProject.pojo;

import java.time.LocalDate;

public class StudentDO {
    private int id;
    private String name;
    private  String gender;
    private  String phone;
    private LocalDate date;
    private ClaszDO clasz;

    public ClaszDO getClasz() {
        return clasz;
    }

    @Override
    public String toString() {
        return "StudentDO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                ", date=" + date +
                ", clasz=" + clasz +
                ", room=" + room +
                ", head='" + head + '\'' +
                '}';
    }

    public void setClasz(ClaszDO clasz) {
        this.clasz = clasz;
    }

    public RoomDO getRoom() {
        return room;
    }

    public void setRoom(RoomDO room) {
        this.room = room;
    }

    private RoomDO room;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    private  String head;
}
